﻿mainModule.filter('translate', ["localizationCacheSvc", function (localizationCacheSvc) {
    "use strict";
    return function (input ) {
        if (typeof (input) !== "undefined")
            return localizationCacheSvc.get(input);
        else
            return input;
    };
}]);